<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http：//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>易商通运营平台</title>
    <script type="text/javascript" src="__PUBLIC__/libs/js/jquery.js"></script>
    <script type="text/javascript" src="__PUBLIC__/libs/js/framework.js"></script>
    <link href="__PUBLIC__/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" type="text/css" id="skin" prePath="__PUBLIC__/"/>
    <link rel="stylesheet" type="text/css" id="customSkin"/>
    <script type="text/javascript" src="__PUBLIC__/libs/js/form/datePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="__PUBLIC__/libs/js/nav/pageNumber.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/showdate.js"></script>
    <style>body {
        background-color: #dbeefd
    }</style>
</head>
<body>

<div class="box1">
    <fieldset style="border-color:#999999;">
        <legend>人事部信息编辑</legend>
        <form action="__URL__/saveresume" method="post">
            <table class="tableStyle">
                <?php  if($page=="quitfiles"){ ?>
                <tr>
                    <td  align="right"> 离职日期：</td>
                    <td>
                        <input type="text" name="quitdate" id="quitdate"
                               value="<?php if($resume!=null&& $resume['quitdate']!='0000-00-00 00:00:00')
                               echo date('Y-m-d',strtotime($resume['quitdate']));?>"
                               style="width:120px;" onclick="return Calendar('quitdate');" />
                    </td>
                </tr>
               <?php }
               elseif($page=="quitfiles"||$page=="entryfiles")
               {
             ?>
                <tr>
                    <td  align="right"> 入职日期：</td>
                    <td>
                        <input type="text" name="entrydate" id="entrydate"
                               value="<?php if($resume!=null&& $resume['entrydate']!='0000-00-00 00:00:00')
                               echo date('Y-m-d',strtotime($resume['entrydate']));?>"
                               style="width:120px;" onclick="return Calendar('entrydate');" />
                    </td>
                </tr>
                <?php
                }?>

                <tr>
                    <td  align="right"> 应聘日期：</td>
                    <td>
                        <input type="text" name="candidatesdate" id="candidatesdate"
                               value="<?php if($resume!=null&& $resume['candidatesdate']!='0000-00-00 00:00:00')
                               echo date('Y-m-d',strtotime($resume['candidatesdate']));?>"
                               style="width:120px;" onclick="return Calendar('candidatesdate');" />
                    </td>
                </tr>
                <tr>
                    <td  align="right"> 应聘渠道：</td>
                    <td>
                        <input type="text" name="candidateschannel" id="candidateschannel" value="{$resume.candidateschannel}" style="width:200px;" />
                    </td>
                </tr>
                <tr>
                    <td  align="right"> 应聘职位：</td>
                    <td>
                        <input type="text" name="applyposition" id="applyposition" value="{$resume.applyposition}" style="width:200px;" />
                    </td>
                </tr>
                <tr>
                    <td  align="right"> 姓名：</td>
                    <td>
                        <input type="text" name="name" id="name" value="{$resume.name}" style="width:200px;" />
                    </td>
                </tr>
                <tr>
                    <td   align="right">性别：</td>
                    <td><input type="radio" value="1" name="sex" <?php if($resume['sex']=='1') echo "checked='checked'";?> />男
                        <input type="radio" value="0" name="sex" <?php if($resume['sex']=='0') echo "checked='checked'";?> />女
                    </td>
                </tr>
                <tr>
                    <td  align="right"> 出生日期：</td>
                    <td>
                        <input type="text" name="birthday" id="birthday" value="<?php if($resume!=null&& $resume['birthday']!='0000-00-00')
                               echo date('Y-m-d',strtotime($resume['birthday']));?>" style="width:120px;" onclick="return Calendar('birthday');" />
                    </td>
                </tr>
                <tr>
                    <td  align="right"> 家庭住址：</td>
                    <td><input type="text" name="address" id="address" value="{$resume.address}" style="width:200px;" /></td>
                </tr>
                <tr>
                    <td  align="right" > 是否面试：</td>
                    <td>
                        <select name="isinterview" id="isinterview" style="width:200px;" >
                            <option value="">选择</option>
                            <option value="1" <?php if($resume['isinterview']=='1') echo "selected";?>>是</option>
                            <option value="0" <?php if($resume['isinterview']=='0') echo "selected";?>>否</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td  align="right" > 是否通过面试：</td>
                    <td>
                        <select name="isthrough" id="isthrough" style="width:200px;" >
                            <option value="">选择</option>
                            <option value="1" <?php if($resume['isthrough']=='1') echo "selected";?>>是</option>
                            <option value="0" <?php if($resume['isthrough']=='0') echo "selected";?>>否</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td  align="right"> 毕业院校：</td>
                    <td><input type="text" name="graduated" id="graduated" value="{$resume.graduated}" style="width:200px;" /></td>
                </tr>
                <tr>
                    <td  align="right"> 专业：</td>
                    <td><input type="text" name="subject" id="subject" value="{$resume.subject}" style="width:200px;" /></td>
                </tr>
                <tr>
                    <td  align="right"> 学历：</td>
                    <td>
                        <select name="education" id="education" style="width:200px;" >
                        <option value="">选择</option>
                        <option value="小学" <?php if($resume['education']=='小学') echo "selected";?>>小学</option>
                        <option value="初中" <?php if($resume['education']=='初中') echo "selected";?>>初中</option>
                        <option value="高中" <?php if($resume['education']=='高中') echo "selected";?>>高中</option>
                        <option value="中专" <?php if($resume['education']=='中专') echo "selected";?>>中专</option>
                        <option value="大专" <?php if($resume['education']=='大专') echo "selected";?>>大专</option>
                        <option value="本科" <?php if($resume['education']=='本科') echo "selected";?>>本科</option>
                        <option value="研究生" <?php if($resume['education']=='研究生') echo "selected";?>>研究生</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td  align="right">工作经验：</td>
                    <td>  <textarea name="experience" rows="2" cols="20" id="experience" class="formTextarea"
                                    style="height:50px;width:400px;">{$resume.experience}</textarea>
                    </td>
                </tr>
                <tr>
                    <td  align="right">联系方式：</td>
                    <td><input type="text" name="tel" id="tel" value="{$resume.tel}" style="width:200px;" /></td>
                </tr>
                <tr>
                    <td  align="right">备注：</td>
                    <td>  <textarea name="remark" rows="2" cols="20" id="remark" class="formTextarea"
                                    style="height:50px;width:400px;">{$resume.remark}</textarea>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp;
                    <input type="submit" name="" value="保存"/>
                    <input name="action" type="hidden"   value="{$action}" />
                    <input name="id" type="hidden"   value="{$resume.id}" />
                    <input name="page" type="hidden"   value="{$page}" />
                    </td>
                </tr>

            </table>
        </form>
    </fieldset>
</div>
</body>
</html>